
package com.daka.dao1;

import com.daka.entity.Member;
import com.daka.mybatis.SQLMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository(value = "memberDao")
@SQLMapper
public interface MemberDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Member record);

    int insertSelective(Member record);

    Member selectByPrimaryKey(Integer id);

    List<Member> selectByStatement(Member record);

    List<Member> selectAll();

    List<Member> selectByIdBetween(@Param("max") Integer max,@Param("min") Integer min);

    int selectByStatementCount(Member record);

    int updateByPrimaryKeySelective(Member record);
}